package vn.student.mylib;

	/*
	
		Class name: ClassInfo.java
		Function: Day la lop chua thong tin chi tiet cua mot Class. 
			Lop nay don gian chi chua cac Constructor de khoi tao doi tuong dung luu tru du lieu.
		
	*/

public class ClassInfo {
	public String className;
	public String type;
	public String location;
	public String timeStart;
	public String timeEnd;
	public String repeat;
	public String dateRepeat;
	public ClassInfo(String[] data){
		this.className = data[0];
		this.type = data[1];
		this.location = data[2];
		this.timeStart = data[3];
		this.timeEnd = data[4];
		this.repeat = data[5];
		this.dateRepeat = data[6];
	}
	public ClassInfo(String className,String type,String location,String timeStart,String timeEnd,String repeat,String dateRepeat){
		this.className = className;
		this.type = type;
		this.location = location;
		this.timeStart = timeStart;
		this.timeEnd = timeEnd;
		this.repeat = repeat;
		this.dateRepeat = dateRepeat;
	}
}
